package com.selen.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author Selen
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "EmpUpdatePasswordDTO", description = "员工密码修改DTO")
public class EmpUpdatePasswordDTO implements Serializable {

    /**  主键  */
    @NotNull(message = "主键不能为空")
    @Schema(description = "员工主键")
    private Long id;

    @Schema(description = "旧密码")
    private String oldPassword;

    @Schema(description = "新密码")
    private String newPassword;



}